﻿using BillBook.Model;
using BillBook.Repository;

namespace BillBook.Controller
{
    public class TransactionTypeController
    {
       
        private readonly IBillBookRepository repository;

        public TransactionTypeController(IBillBookRepository repository)
        {
            this.repository = repository;
        }

        public void Save(TransactionType transactionType)
        {
            repository.Save(transactionType); 
        }


    }
}